package com.t114514.demo.service;

import com.t114514.demo.pojo.Message;
import com.t114514.demo.pojo.PageBean;

public interface MessageService {
    void addMessage(Message message);

    PageBean<Message> findMessage(int teacherId,int pageNum,int pageSize);

    PageBean<Message> findMessage(String teacherName,int pageNum,int pageSize);

    void removeMessage(int messageId);
}
